var express = require("express");
var router = express.Router();
const fs = require("fs");

//首页
router.get("/", function (req, res, next) {
    res.render("layout", {
        templates: [],
    });

});

router.get("/preview", function (req, res, next) {
    res.render("preview", {});

});


router.get("/images", function (req, res, next) {
    res.render("images", {});
});



module.exports = router;
